﻿using AutoMapper;
using HelenServer.BugEngine.Contracts;

namespace HelenServer.BugEngine.Dal;

public class BugEngineProfile : Profile
{
    public BugEngineProfile()
    {
        #region Obsolute        
        this.CreateMap<Browser, BrowserModel>().ReverseMap();
        this.CreateMap<Bug, BugModel>().ReverseMap();
        this.CreateMap<BugType, BugTypeModel>().ReverseMap();
        this.CreateMap<Module, ModuleModel>().ReverseMap();

        this.CreateMap<Os, OsModel>().ReverseMap();
        this.CreateMap<Product, ProductModel>().ReverseMap();
        this.CreateMap<Release, ReleaseModel>().ReverseMap();
        #endregion        
    }
}